package la.bbs558.entity.params;

import la.bbs558.aop.valid.Valid;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 发帖(BbsPostParams)
 *
 * @author weihanmin
 * @since 2023-12-17 11:05:07
 */
@Data
@Accessors(chain = true)
public class BbsReplyParams {

    /**
     * 帖子id
     */
    @Valid(msg = "缺少帖子id")
    private Long postId;

    /**
     * 回复id（可选）
     */
    private Long replyId;

    /**
     * 内容
     */
    @Valid(msg = "缺少回复内容")
    private String content;

    private String mediaJson;

    /**
     * 被@的用户id
     */
    private List<Long> atUsers;


}
